package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallSystemConfigDao;
import com.appkubes.mall.core.entity.MallSystemConfig;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallSystemConfigService extends AbstractBaseService<BaseMallSystemConfigDao, MallSystemConfig> {

    MallSystemConfig getOneByEntity(MallSystemConfig entity);

    List<MallSystemConfig> selectListByEntity(MallSystemConfig entity);

    IPage<MallSystemConfig> selectPageByEntity(IPage<MallSystemConfig> page);
    IPage<MallSystemConfig> selectPageByEntity(PageVO pageVO);

    IPage<MallSystemConfig> selectPageByEntity(MallSystemConfig entity, IPage<MallSystemConfig> page);
    IPage<MallSystemConfig> selectPageByEntity(MallSystemConfig entity, PageVO pageVO);

    IPage<MallSystemConfig> selectPageByEntity(MallSystemConfig entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallSystemConfig entity);
}
